import { MidwayConfig } from '@midwayjs/core';
import { TokenConfig } from '../interface/token.config';

export default {
  // use for cookie sign key, should change to your own and keep security
  keys: '1715847373628_3169',
  validate: {
    validationOptions: {
      allowUnknown: true
    }
  },
  token: {
    expire: 60 * 60 * 2,
    refreshExpire: 60 * 60 * 24
  } as TokenConfig
} as MidwayConfig;
